#!/usr/bin/env python
#coding=utf-8

from selenium import webdriver

browser = webdriver.Firefox()

try:
    browser.get("http://localhost:8000/")
    body = browser.find_element_by_tag_name("body")
except:
    raise "ERROR"

assert "Django" in body.text

browser.quit()
